package service;

import java.util.List;

import domain.PageBean;
import domain.User;

public interface UserService {

	public boolean validateLogin(User user);

	public List<User> getAllUsers();

	public void delUser(int id);

	public void addUser(User user);

	public User getUserByName(String name);

	public User getUserById(int id);

	public void updateUser(User user);
	
	public PageBean<User> find(int pageNum, int pageSize);

}
